.vk-collapse {
  --vk-collapse-border-color: var(--vk-border-color-lighter);
  --vk-collapse-header-height: 48px;
  --vk-collapse-header-bg-color: var(--vk-fill-color-blank);
  --vk-collapse-header-text-color: var(--vk-text-color-primary);
  --vk-collapse-header-font-size: 13px;
  --vk-collapse-content-bg-color: var(--vk-fill-color-blank);
  --vk-collapse-content-font-size: 13px;
  --vk-collapse-content-text-color: var(--vk-text-color-primary);

  --vk-collapse-disabled-text-color: var(--vk-disabled-text-color);
  --vk-collapse-disabled-border-color: var(--vk-border-color-lighter);

  border-top: 1px solid var(--vk-collapse-border-color);
  border-bottom: 1px solid var(--vk-collapse-border-color);
}

.vk-collapse-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--vk-collapse-header-height);
  line-height: var(--vk-collapse-header-height);
  background-color: var(--vk-collapse-header-bg-color);
  color: var(--vk-collapse-header-text-color);
  cursor: pointer;
  border-bottom: 1px solid var(--vk-collapse-border-color);
  font-size: var(--vk-collapse-header-font-size);
  font-weight: 500;
  transition: border-bottom-color var(--vk-transition-duration);
  outline: none;

  &.is-disabled {
    color: var(--vk-collapse-disabled-text-color);
    cursor: not-allowed;
    background-image: none;
  }
  &.is-active {
    border-bottom-color: transparent;
    .header-angle {
      transform: rotate(90deg);
    }
  }
  .header-angle {
    transition: transform var(--vk-transition-duration);
  }
}
.vk-collapse-item__content {
  will-change: height;
  background-color: var(--vk-collapse-content-bg-color);
  overflow: hidden;
  box-sizing: border-box;
  padding-bottom: 25px;
  font-size: var(--vk-collapse-content-font-size);
  color: var(--vk-collapse-content-text-color);
  border-bottom: 1px solid var(--vk-collapse-border-color);
  padding-bottom: 25px;
}

/* 不在这里做开始结束的处理 在js中写 */
/* .slide-enter-from,
.slide-leave-to {
  opacity: 0;
} */

.slide-enter-active,
.slide-leave-active {
  transition: height var(--vk-transition-duration);
}
/* .slide-enter-to,
.slide-leave-from {
  opacity: 1;
} */
